{include file="common/header.html"}
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/common.js" type="text/javascript"></script>
<meta name="robots" content="none">

</head>
<body id="nv_member">

<div id="wp" class="wp">
    	
    <!--中间内容-->
    	<div class="contentmanage">
            <div class="tableContent">
                <div class="content">
                    <div class="cLineB">
                        <h4 class="left">
                            添加流量商品
                        </h4>
	                    <a href="admin.php?m=product" class="right btnGrayS vm">返回</a>
                        <div class="clr">
                        </div>
                    </div>
                    <div class="msgWrap bgfc">
                        <form action="admin.php?m=product&a=add" method="post" class="form-horizontal form-validate" onsubmit="check();">
                        	<input type="hidden" name="id" value="{$formData.id}" />
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    商品名称：
                                </label>
                                <div class="controls">
                                    <input type="text" id="name" name="formData[name]" value="{$formData.name}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    运营商：
                                </label>
                                <div class="controls">
                                    <select name="formData[mobile_type]" class="input-large" id="mobile_type">
								    <option value="0" {if $formData.mobile_type eq '0'}selected{/if}>中国移动</option>
								    <option value="1" {if $formData.mobile_type eq '1'}selected{/if}>中国联通</option>
								    <option value="2" {if $formData.mobile_type eq '2'}selected{/if}>中国电信</option>
								    </select>
    								<span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    流量值：
                                </label>
                                <div class="controls">
                                    <input type="text" id="mb_value" name="formData[mb_value]" value="{$formData.mb_value}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">Mb
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    使用范围：
                                </label>
                                <div class="controls">
                                    <select name="formData[use_range]" class="input-large" id="use_range">
								    <option value="0" {if $formData.use_range eq '0'}selected{/if}>全国</option>
								    <option value="1" {if $formData.use_range eq '1'}selected{/if}>省内</option>
								    </select>
    								<span class="maroon">
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    产品地域：
                                </label>
                                <div class="controls">
                                    <select name="formData[province_code]" class="input-large" id="use_range">
								    <option value="0" {if $formData.province_code eq '0'}selected{/if}>全国</option>
								    <option value="33" {if $formData.province_code eq '33'}selected{/if}>浙江</option>
								    <option value="44" {if $formData.province_code eq '44'}selected{/if}>广东</option>
								    </select>
    								<span class="maroon">
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    流量有效期：
                                </label>
                                <div class="controls">
                                    <select name="formData[valid_type1]" class="input-large" id="valid_type1">
								    <option value="当月有效" {if $formData.valid_type1 eq '当月有效'}selected{/if}>当月有效</option>
								    </select>
    								<span class="maroon">
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    生效时间：
                                </label>
                                <div class="controls">
                                    <select name="formData[valid_type2]" class="input-large" id="valid_type2">
								    <option value="即时生效" {if $formData.valid_type2 eq '即时生效'}selected{/if}>即时生效</option>
								    </select>
    								<span class="maroon">
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    当月限充(次)：
                                </label>
                                <div class="controls">
                                    <input type="text" id="limit_times" name="formData[limit_times]" value="{$formData.limit_times}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                </div>
                            </div>
                            
                            
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    支持用户：
                                </label>
                                <div class="controls">
                                    <select name="formData[support_user]" class="input-large" id="support_user">
								    <option value="支持2G、3G、4G用户充值" {if $formData.support_user eq '支持2G、3G、4G用户充值'}selected{/if}>支持2G、3G、4G用户充值</option>
								    <option value="支持3G、4G用户充值" {if $formData.support_user eq '支持3G、4G用户充值'}selected{/if}>支持3G、4G用户充值</option>
								    <option value="支持4G用户充值" {if $formData.support_user eq '支持4G用户充值'}selected{/if}>支持4G用户充值</option>
								    </select>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    原价：
                                </label>
                                <div class="controls">
                                    <input type="text" id="price" name="formData[price]" value="{$formData.price}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label for="title" class="control-label">
                                    优惠价：
                                </label>
                                <div class="controls">
                                    <input type="text" id="bonues_price" name="formData[bonues_price]" value="{$formData.bonues_price}" class="input-large" style="width:200px"data-rule-required="true" data-rule-maxlength="100">
                                    <span class="maroon">
                                        *
                                    </span>
                                    <span class="help-inline">
                                    </span>
                                </div>
                            </div>
                            
                    <div class="form-actions">
                        <button type="submit" name="button" class="btnGreen">
                            保存
                        </button>
                        <a href="javascript:history.go(-1);" class="btnGray vm">
                            取消
                        </a>
                    </div>
                    </form>
                </div>
            </div>
            <div class="clr">
            </div>
        </div>
    </div>
</div>
<!--底部-->

 </body></html>